{template 'header'}
            <div class="row">
                <div class="col-md-12">
                    <div class="panel panel-default">
                        <div class="panel-body">
                            <form action="{php echo webUrl('case/index/case_add')}" method="post" enctype="multipart/form-data" class="form-horizontal ">
                                <div class="form-group">
                                    <label for="firstname" class="col-sm-2 control-label">标题</label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" id="notice" name="case_name">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="lastname" class="col-sm-2 control-label">图片</label>
                                    <div class="col-sm-8">
                                         {php echo tpl_form_field_image2('case_thumb');}
                                         <span class="help-block">图片：
                                            {if $muban=='hunsha' || $muban=='hunsha1'}700*250像素 {else} 300*300像素 {/if}
                                         </span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-2 control-label" for="text-input">内容 </label>
                                    <div class="col-md-8">
                                        {php echo tpl_ueditor('case_content');}
                                    </div>
                                </div>
								<div class="form-group">
									<label class="col-sm-2 control-label">是否显示</label>
									<div class="col-sm-8">
										<input type="radio" name="is_show" id="is_show-1" value="1" {if $case['is_show'] == 1} checked{/if}> 
										<label class="radio-inline" for="is_show-1">是</label>
										<input type="radio" name="is_show" id="is_show-0" value="0" {if $case['is_show'] == 0} checked{/if}>
										<label class="radio-inline" for="is_show-0"> 否</label>
									</div>
								</div>
	                        </div>
	                        <div class="panel-footer">
	                            <button type="submit" class="btn btn-sm btn-success"><i class="fa fa-dot-circle-o"></i> 保存</button>
	                            <input type="hidden" value="0" name="jixu" id="jixu" />
	                            <button type="submit" onclick="document.getElementById('jixu').value=1" class="btn btn-sm btn-danger"><i class="fa fa-dot-circle-o"></i> 保存并继续添加</button>
	                        </div>
                        </form>
                    </div>
                    </div>
                </div>
            </div><!--/.row-->
    {template 'footer'}